package com.wine.exam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wine.exam.domain.Paper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 试卷Mapper接口
 *
 * @author wine
 * @date 2022-10-13
 */
@Mapper

public interface PaperMapper extends BaseMapper<Paper> {
    /**
     * 修改试卷状态
     *
     * @param paperId
     * @param status
     * @return
     */
    int updateStatus(@Param("paperId") Long paperId, @Param("status") String status);

}
